package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum MemberPointLogRefType {
    ride_order(0, "行程订单"),
    merchant_member_order(1, "商城消费"),
    recharge(2, "乘客充值"),
    merchant_review(3, "推荐商家"),
    ride_marking(4, "司机好评"),
    customer_sign_in(5, "乘客签到"),
    customer_logout(6, "乘客注销扣除积分");

    @EnumValue
    private final int code;
    private final String desc;

    MemberPointLogRefType(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
